/*
	@file: log/source/formatter/LogStringFormatter.cpp
	@author: Wolfhead
 */
#include "formatter/StringFormatter.h"
#include "detail/LogFormat.h"

namespace logger
{

StringFormatter::StringFormatter(const std::string& format)
	: m_format(format)
{

}

void StringFormatter::do_format(
	LogDataPtr data_ptr,
	std::string & output)
{
	LogFormat::format(data_ptr, m_format, output);
}

}//namespace logger

